# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'stopky.ui'
#
# Created: Tue Aug 16 20:59:56 2011
#      by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Okno(object):
    def setupUi(self, Okno):
        Okno.setObjectName("Okno")
        Okno.resize(381, 422)
        self.centralwidget = QtGui.QWidget(Okno)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtGui.QSpacerItem(13, 31, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.Minuty = QtGui.QLCDNumber(self.centralwidget)
        self.Minuty.setFrameShape(QtGui.QFrame.NoFrame)
        self.Minuty.setLineWidth(2)
        self.Minuty.setNumDigits(2)
        self.Minuty.setMode(QtGui.QLCDNumber.Dec)
        self.Minuty.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.Minuty.setProperty("value", 99.0)
        self.Minuty.setProperty("intValue", 99)
        self.Minuty.setObjectName("Minuty")
        self.horizontalLayout.addWidget(self.Minuty)
        self.Dvojtecka = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(22)
        self.Dvojtecka.setFont(font)
        self.Dvojtecka.setObjectName("Dvojtecka")
        self.horizontalLayout.addWidget(self.Dvojtecka)
        self.Sekundy = QtGui.QLCDNumber(self.centralwidget)
        self.Sekundy.setFrameShape(QtGui.QFrame.NoFrame)
        self.Sekundy.setLineWidth(2)
        self.Sekundy.setNumDigits(2)
        self.Sekundy.setMode(QtGui.QLCDNumber.Dec)
        self.Sekundy.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.Sekundy.setProperty("value", 99.0)
        self.Sekundy.setProperty("intValue", 99)
        self.Sekundy.setObjectName("Sekundy")
        self.horizontalLayout.addWidget(self.Sekundy)
        spacerItem2 = QtGui.QSpacerItem(13, 31, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.Start = QtGui.QPushButton(self.centralwidget)
        self.Start.setObjectName("Start")
        self.horizontalLayout.addWidget(self.Start)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.Info = QtGui.QLabel(self.centralwidget)
        self.Info.setObjectName("Info")
        self.verticalLayout.addWidget(self.Info)
        self.line_2 = QtGui.QFrame(self.centralwidget)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout.addWidget(self.line_2)
        self.Programy = QtGui.QTableWidget(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.Programy.setFont(font)
        self.Programy.setFrameShadow(QtGui.QFrame.Sunken)
        self.Programy.setProperty("showDropIndicator", False)
        self.Programy.setAlternatingRowColors(True)
        self.Programy.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.Programy.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.Programy.setCornerButtonEnabled(True)
        self.Programy.setRowCount(32)
        self.Programy.setObjectName("Programy")
        self.Programy.setColumnCount(5)
        self.Programy.setRowCount(32)
        item = QtGui.QTableWidgetItem()
        self.Programy.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.Programy.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.Programy.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.Programy.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.Programy.setHorizontalHeaderItem(4, item)
        self.Programy.horizontalHeader().setVisible(True)
        self.Programy.horizontalHeader().setDefaultSectionSize(60)
        self.Programy.horizontalHeader().setMinimumSectionSize(40)
        self.Programy.verticalHeader().setDefaultSectionSize(20)
        self.Programy.verticalHeader().setMinimumSectionSize(20)
        self.verticalLayout.addWidget(self.Programy)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.Obnovit = QtGui.QPushButton(self.centralwidget)
        self.Obnovit.setObjectName("Obnovit")
        self.horizontalLayout_2.addWidget(self.Obnovit)
        self.Next = QtGui.QPushButton(self.centralwidget)
        self.Next.setObjectName("Next")
        self.horizontalLayout_2.addWidget(self.Next)
        self.Save = QtGui.QPushButton(self.centralwidget)
        self.Save.setObjectName("Save")
        self.horizontalLayout_2.addWidget(self.Save)
        self.Load_all = QtGui.QPushButton(self.centralwidget)
        self.Load_all.setObjectName("Load_all")
        self.horizontalLayout_2.addWidget(self.Load_all)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.labelPort = QtGui.QLabel(self.centralwidget)
        self.labelPort.setObjectName("labelPort")
        self.horizontalLayout_3.addWidget(self.labelPort)
        self.Port = QtGui.QLineEdit(self.centralwidget)
        self.Port.setObjectName("Port")
        self.horizontalLayout_3.addWidget(self.Port)
        self.Spojit = QtGui.QPushButton(self.centralwidget)
        self.Spojit.setObjectName("Spojit")
        self.horizontalLayout_3.addWidget(self.Spojit)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        Okno.setCentralWidget(self.centralwidget)

        self.retranslateUi(Okno)
        QtCore.QMetaObject.connectSlotsByName(Okno)

    def retranslateUi(self, Okno):
        Okno.setWindowTitle(QtGui.QApplication.translate("Okno", "Stopky", None, QtGui.QApplication.UnicodeUTF8))
        self.Minuty.setToolTip(QtGui.QApplication.translate("Okno", "Minuty", None, QtGui.QApplication.UnicodeUTF8))
        self.Dvojtecka.setText(QtGui.QApplication.translate("Okno", ":", None, QtGui.QApplication.UnicodeUTF8))
        self.Sekundy.setToolTip(QtGui.QApplication.translate("Okno", "Vteřiny", None, QtGui.QApplication.UnicodeUTF8))
        self.Start.setToolTip(QtGui.QApplication.translate("Okno", "Zastaví/Spustí stopky", None, QtGui.QApplication.UnicodeUTF8))
        self.Start.setText(QtGui.QApplication.translate("Okno", "Start", None, QtGui.QApplication.UnicodeUTF8))
        self.Info.setText(QtGui.QApplication.translate("Okno", "Nesynchronizováno :-(", None, QtGui.QApplication.UnicodeUTF8))
        self.Programy.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("Okno", "Mínus", None, QtGui.QApplication.UnicodeUTF8))
        self.Programy.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("Okno", "Čas", None, QtGui.QApplication.UnicodeUTF8))
        self.Programy.horizontalHeaderItem(2).setText(QtGui.QApplication.translate("Okno", "Zastavit", None, QtGui.QApplication.UnicodeUTF8))
        self.Programy.horizontalHeaderItem(3).setText(QtGui.QApplication.translate("Okno", "Pípat", None, QtGui.QApplication.UnicodeUTF8))
        self.Programy.horizontalHeaderItem(4).setText(QtGui.QApplication.translate("Okno", "Směr", None, QtGui.QApplication.UnicodeUTF8))
        self.Obnovit.setToolTip(QtGui.QApplication.translate("Okno", "Přepíše řádek daty s cache (ze stopek)", None, QtGui.QApplication.UnicodeUTF8))
        self.Obnovit.setText(QtGui.QApplication.translate("Okno", "Obnovit ", None, QtGui.QApplication.UnicodeUTF8))
        self.Next.setToolTip(QtGui.QApplication.translate("Okno", "Vybraným řádek se bude pokračovat po zastavení/doběhnutí aktuálního času", None, QtGui.QApplication.UnicodeUTF8))
        self.Next.setText(QtGui.QApplication.translate("Okno", "Následuje", None, QtGui.QApplication.UnicodeUTF8))
        self.Save.setToolTip(QtGui.QApplication.translate("Okno", "Uloží vše změněné do stopek", None, QtGui.QApplication.UnicodeUTF8))
        self.Save.setText(QtGui.QApplication.translate("Okno", "Uložit", None, QtGui.QApplication.UnicodeUTF8))
        self.Load_all.setToolTip(QtGui.QApplication.translate("Okno", "Načte všechno ze stopek do cache a zobrazí rozdíly v tabulce", None, QtGui.QApplication.UnicodeUTF8))
        self.Load_all.setText(QtGui.QApplication.translate("Okno", "Načíst vše", None, QtGui.QApplication.UnicodeUTF8))
        self.labelPort.setText(QtGui.QApplication.translate("Okno", "Port:", None, QtGui.QApplication.UnicodeUTF8))
        self.Port.setToolTip(QtGui.QApplication.translate("Okno", "Sériový port s připojenými stopkami (com1...)", None, QtGui.QApplication.UnicodeUTF8))
        self.Port.setText(QtGui.QApplication.translate("Okno", "/dev/ttyUSB1", None, QtGui.QApplication.UnicodeUTF8))
        self.Spojit.setToolTip(QtGui.QApplication.translate("Okno", "Pokusí se zjistit zda jsou na portu připojené funkční stopky", None, QtGui.QApplication.UnicodeUTF8))
        self.Spojit.setText(QtGui.QApplication.translate("Okno", "Spojit", None, QtGui.QApplication.UnicodeUTF8))

